package cs3343.project.family;


/**
 * The Class EventCard.
 */
public class EventCard extends Card {
	
	/**
	 * Instantiates a new event card.
	 *
	 * @param description the description
	 * @param option1 the option1
	 * @param result1 the result1
	 * @param option2 the option2
	 * @param result2 the result2
	 * @param option3 the option3
	 * @param result3 the result3
	 * @param option4 the option4
	 * @param result4 the result4
	 */
	EventCard(String description, 
			String option1, String result1, String option2, String result2,
			String option3, String result3,	String option4, String result4) {
		this.options = new String[4][2];
		
		this.name = "Event Card";
		this.description = description;
		this.options[0][0] = option1;
		this.options[1][0] = option2;
		this.options[2][0] = option3;
		this.options[3][0] = option4;
		
		this.options[0][1] = result1;
		this.options[1][1] = result2;
		this.options[2][1] = result3;
		this.options[3][1] = result4;
	}
	
	/* (non-Javadoc)
	 * @see cs3343.project.family.Card#getOption(int)
	 */
	@Override
	public String getOption(int index) {
		return options[index][0];
	}
	
	/* (non-Javadoc)
	 * @see cs3343.project.family.Card#getResult(int)
	 */
	@Override
	public String getResult(int index) {
		return options[index][1];
	}
	
}
